package com.zy.swagger.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (表t_request_record)数据传输对象
 *
 * @author ZY
 * @date 2021-04-24 20:13:53
 */
@ApiModel("表(t_request_record)实体类DTO")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RequestRecordDTO {

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID", example = "1")
    private Integer id;

    /**
     * 应用ID
     */
    @ApiModelProperty(value = "应用ID", example = "1")
    private Integer appId;

    /**
     * 接口ID
     */
    @ApiModelProperty("接口ID")
    private Integer interfaceId;

    /**
     * 请求URL
     */
    @ApiModelProperty(value = "请求URL", example = "a")
    private String requestUrl;
    /**
     * 请求方式
     */
    @ApiModelProperty(value = "请求方式", example = "a")
    private String method;
    /**
     * 请求头
     */
    @ApiModelProperty(value = "请求头", example = "a")
    private String header;
    /**
     * 请求参数
     */
    @ApiModelProperty(value = "请求参数", example = "a")
    private String params;
    /**
     * 请求返回数据
     */
    @ApiModelProperty(value = "请求返回数据", example = "a")
    private String resp;
    /**
     * 请求发起人ID
     */
    @ApiModelProperty(value = "请求发起人ID", example = "1")
    private Integer userId;
    /**
     * 状态 0.失败 1.成功
     */
    @ApiModelProperty(value = "状态 0.失败 1.成功", example = "1")
    private Integer status;
    /**
     * 记录创建时间起
     */
    @ApiModelProperty(value = "记录创建时间起 yyyy-MM-dd", example = "2020-05-20")
    private String createTimeBegin;

    /**
     * 记录创建时间止
     */
    @ApiModelProperty(value = "记录创建时间止 yyyy-MM-dd", example = "2020-05-20")
    private String createTimeEnd;

    /**
     * 记录更新时间起
     */
    @ApiModelProperty(value = "记录更新时间起 yyyy-MM-dd", example = "2020-05-20")
    private String updateTimeBegin;

    /**
     * 记录更新时间止
     */
    @ApiModelProperty(value = "记录更新时间止 yyyy-MM-dd", example = "2020-05-20")
    private String updateTimeEnd;

    /**
     * 分页查询参数，页码
     */
    @ApiModelProperty(value = "查询页", required = true, example = "1")
    private Integer pageNum;

    /**
     * 分页查询参数，每页数量
     */
    @ApiModelProperty(value = "每页数量", required = true, example = "10")
    private Integer pageSize;
}